package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 班级课表
 * </p>
 *
 * @author 
 * @since 2020-05-02
 */
@TableName("xx_class_school_table")
@Data
public class ClassSchoolTable implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级id
     */
    @TableField("class_id")
    private Integer classId;

    /**
     * 课程id
     */
    @TableField("lession_id")
    private String lessionId;

    /**
     * 授课教师id
     */
    @TableField("teacher_id")
    private Integer teacherId;

    /**
     * 上课时间
     */
    @TableField("start_end_time")
    private String startEndTime;
    @TableField("week")
    private String week;
    @TableField("jie")
    private String jie;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 星期几 1到7对应周一到周日
     */
    @TableField("type")
    private String type;
    @TableField("place")
    private String place;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getLessionId() {
        return lessionId;
    }

    public void setLessionId(String lessionId) {
        this.lessionId = lessionId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getStartEndTime() {
        return startEndTime;
    }

    public void setStartEndTime(String startEndTime) {
        this.startEndTime = startEndTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ClassSchoolTable{" +
        "id=" + id +
        ", classId=" + classId +
        ", lessionId=" + lessionId +
        ", teacherId=" + teacherId +
        ", startEndTime=" + startEndTime +
        ", sort=" + sort +
        ", type=" + type +
        "}";
    }
}
